package com.yxs.school.api.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.yxs.school.api.entity.Discuss;
import com.yxs.school.api.entity.DiscussVo;
import com.yxs.school.api.entity.Discuss;
import com.yxs.school.api.mapper.DiscussMapper;
import com.yxs.school.api.service.IDiscussService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author whp
 * @since 2019-11-22
 */
@Service
public class DiscussServiceImpl extends ServiceImpl<DiscussMapper, Discuss> implements IDiscussService {

    @Resource
    DiscussMapper discussMapper;
    @Override
    public List<DiscussVo> selectDetailList(QueryWrapper<Discuss> wrapper) {
        return discussMapper.selectDetailList(wrapper);
    }

}
